package com.qinggeng.project.api.dto;

import com.qinggeng.project.system.domain.GoodsGift;
import com.qinggeng.project.system.domain.OrdersGift;
import lombok.Data;

import java.util.List;

@Data
public class DrawResult {

    //剩余抽奖次数
    private Integer times;

    //下次抽奖奖品
    private List<GoodsGift> gifts;

    //是否中奖
    private Boolean isWin;

    //获得的奖品
    private OrdersGift winGift;


    public DrawResult() {
    }

    public DrawResult(Boolean isWin) {
        this.isWin = isWin;
    }

    public DrawResult(Integer times, List<GoodsGift> gifts) {
        this.times = times;
        this.gifts = gifts;
    }
}
